package com.ybkj.daijia.server.service;

import com.ybkj.daijia.page.Page;
import com.ybkj.daijia.server.model.InforMation;
import java.util.Map;


public interface InforMationService {

    //分页查询信息审核
    Page<InforMation> selectInforMation(String nameOrPhone, Integer page, Integer rows,
        Integer isPass);


    //根据id查询单个信息审核
    InforMation selectById(Long id);

    //修改信息审核详情的结果和备注（六个字段 remarks 0:未审核  1：已审核）
    Map<String, Object> updateInforMation(
        Long id,
        Integer idcardpositiveresult, Integer idcardbackresult, Integer driverresult,
        String idcardpositiveremarks, String idcardbackremarks, String driverremarks);


    //插入信息审核详情
    Map<String, Object> insertInforMation(String phone, String name, String idcard,
        String drivernumber, String photourl,
        Integer registrationtime, String reviewer, String idcardpositivephoto,
        String idcardbackphoto,
        String driverphoto, Integer idcardpositiveresult, Integer idcardbackresult,
        Integer driverresult,
        String idcardpositiveremarks, String idcardbackremarks, String driverremarks);

    //批量更新
    Map<String, Object> batchpass(String size);

}
